from django.contrib import admin
from .models import Movie


@admin.register(Movie)
class MovieAdmin(admin.ModelAdmin):
    list_display = ('movie_name', 'release_info', 'split_box_rate', 'show_count', 'show_count_rate', 'sum_box_desc', 'created_at', 'updated_at')
    list_filter = ('created_at', 'updated_at')
    search_fields = ('movie_name', 'release_info')
    ordering = ('-created_at',)
